package com.wps.wdztv6.api.common;

import lombok.Getter;
import lombok.Setter;

public class Constants {
    public interface WatermarkPosition{
        // 顶部靠左
        String TOP_LEFT = "TOP_LEFT";
        // 顶部中间
        String TOP_CENTER = "TOP_CENTER";
        // 顶部靠右
        String TOP_RIGHT = "TOP_RIGHT";
        // 中间靠左
        String CENTER_LEFT = "CENTER_LEFT";
        // 正中
        String CENTER = "CENTER";
        // 中间靠右
        String CENTER_RIGHT = "CENTER_RIGHT";
        // 底部靠左
        String BOTTOM_LEFT  = "BOTTOM_LEFT";
        // 底部中间
        String BOTTOM_CENTER = "BOTTOM_CENTER";
        // 底部靠右
        String BOTTOM_RIGHT = "BOTTOM_RIGHT";
    }

    public static String[] ImageOperateSupportTypes = {"JPEG","JPG","PNG","BMP"};

    public static String[] DocumentSplitSupportTypes = {"DOC","DOCX","WPS","PPT","PPTX","XLS","XLSX","PDF"};

    public interface DocumentSplitType{
        String AVERAGE = "AVERAGE";
        String RANGE = "RANGE";
    }

    /**
     * 文档内容操作步骤类型，清稿或者加水印
     */
    public interface ContentOperateStepTypes{
        String OFFICE_CLEAN = "OFFICE_CLEAN";
        String OFFICE_WATERMARK = "OFFICE_WATERMARK";
    }

    public interface ContentOperateCleanOptions{
        String ACCEPT_ALL_REVISIONS = "accept_all_revisions";
        String DELETE_ALL_COMMENTS = "delete_all_comments";
        String DELETE_ALL_INK = "delete_all_ink";
    }

    public interface SmartDocTemplate{
        // 通告
        String TONG_GAO = "announcement_ds_ls1";
        // 批复
        String PI_FU = "approval_ds_ss1";
        // 通报
        String TONG_BAO = "bulletin_ds_1seal";
        // 公报
        String GONG_BAO = "communique_ds_ls1";
        // 决定
        String JUE_DING = "decision_ds_5seals";
        // 公告
        String GONG_GAO = "notice_ds_ls1_ht";
        // 通知
        String TONG_ZHI = "notification_ds_ss1_atcm";
        // 意见
        String YI_JIAN = "opinion_ds_ss1";
        // 决议
        String JUE_YI = "resolution_ds_ss3";
        // 请示（5公章）
        String QING_SHI5 = "consult_us_5seals";
        // 议案
        String YI_AN = "motion_us_ps";
        // 请示（1公章）
        String QING_SHI1 = "referral_us_1seal";
        // 报告长署名
        String BAO_GAO1 = "report_us_ls1";
        // 报告（短署名）
        String BAO_GAO2 = "report_us_ss1";
        // 报告（短署名2个）
        String BAO_GAO3 = "report_us_ss2";
        // 命令
        String ORDER = "order";
        // 纪要
        String SUMMARY = "summary";
        // 信函
        String LETTER = "letter";
        // 空白正文
        String BLANK_TEXT = "blanktext";
    }

    public interface SmartDocFieldConfig{
        String BOOKMARK = "bookmark";
        String BOOKMARK_FIELD = "bookmark_field";
        String NONE = "none";
        String FIELD = "field";
    }
}
